package com.jr.service;


import com.jr.entity.User;

import java.util.ArrayList;


public interface UserService {
    int insertUser(User user);//注册
    ArrayList<User> loginUser(User user);
    User finduseremail(String email);//根据邮箱查找用户
    User finduserphone(String phone);//根据电话号查找用户
    int update2(User user);//忘记密码
}
